package com.study.bigdata.spark.core.summer.controller

import com.study.bigdata.spark.core.summer.common.TController
import com.study.bigdata.spark.core.summer.service.HotCategeryTop10Service

class HotCategoryTop10Controller extends TController{
  private val hotCategeryTop10Service =new HotCategeryTop10Service

  override def dispatch(): Unit ={
    val result = hotCategeryTop10Service.analysis()
    result.foreach(println)
  }
}
